home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2009 May / maximum-cd-2009-05.iso / DiscContents / XBMC_for_Windows-8.10.exe / plugins / Programs / SVN Repo Installer / default.py next >
Encoding:
Python Source  |  2008-10-20  |  632 b   |  23 lines

  1. """
  2.     Plugin for downloading scripts/plugins/skins from SVN repositories
  3. """
  4.  
  5. # main imports
  6. import sys
  7.  
  8. # plugin constants
  9. __plugin__ = "SVN Repo Installer"
  10. __author__ = "nuka1195"
  11. __url__ = "http://code.google.com/p/xbmc-addons/"
  12. __svn_url__ = "http://xbmc-addons.googlecode.com/svn/trunk/plugins/programs/SVN%20Repo%20Installer"
  13. __credits__ = "Team XBMC"
  14. __version__ = "1.1"
  15.  
  16.  
  17. if ( __name__ == "__main__" ):
  18.     if ( "download_url=" in sys.argv[ 2 ] ):
  19.         from installerAPI import xbmcplugin_downloader as plugin
  20.     else:
  21.         from installerAPI import xbmcplugin_list as plugin
  22.     plugin.Main()
  23.